<!doctype html>
<html>
<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" type="text/css" href="http://g.alicdn.com/de/prismplayer/1.3.3/skins/default/index-min.css">
<script src="http://g.alicdn.com/de/prismplayer/1.3.3/prism-min.js"></script>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>

<script>
    function InitPlayer(){
        /*var player = new prismplayer({
            id: "J_prismPlayer",    // 容器id
            source: "http://test-video.medtrib.cn/transcode/100/2016-01-13T18:34:18Z/adf71f21-dc29-480d-8b27-9ccfdef97d2d.mp4",  // 视频url 支持互联网可直接访问的视频地址
            autoplay: false,       // 自动播放
            width: "100%",        // 播放器宽度
            height: "400px",     // 播放器高度
            trackLog: false,
            from:'cmt_media',
            cover:"https://image.medtrib.cn/image/post/picture/151/8bf6ecb9-1ff1-49f2-b761-014f127381f6.jpg"
        });*/
        var url = "http://cdnoss.youkouyang.com/test.mp4";
        var player2 = new prismplayer({
            id: "J_prismPlayer2",    // 容器id
            source: url,  // 视频url 支持互联网可直接访问的视频地址
//            source: "http://test-video.medtrib.cn/demo/transcode/4243be5e-56cb-4672-8b7a-981a488cf01b.mp4",  // 视频url 支持互联网可直接访问的视频地址
            autoplay: false,       // 自动播放
            width: "100%",        // 播放器宽度
            height: "400px",     // 播放器高度
            //preload: true,
            trackLog: false,
            from:'cmt_media',
            cover:"https://image.medtrib.cn/image/post/picture/151/8bf6ecb9-1ff1-49f2-b761-014f127381f6.jpg"
        });
    }
</script>

<head>
    <title>测试自适应播放器</title>
</head>

<body>

    ------------------文章正文start----------------
    <div id='J_prismPlayer' class='prism-player'></div>
    
    <div id='J_prismPlayer2' class='prism-player'></div>
    ------------------文章正文start----------------

    <script type="text/javascript">InitPlayer()</script>
</body>

</html>